package com.infra.micro.quartz.model.req;

import com.infra.common.resp.PrintFriendliness;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Map;

@ApiModel(value = "HttpJobHandlerReq", description = "执行http请求参数对象")
public class HttpJobHandlerReq extends PrintFriendliness {
    @ApiModelProperty(name = "url", value = "api路径")
    private String url;
    @ApiModelProperty(name = "method", value = "api请求方式(get/post)")
    private String method;
    @ApiModelProperty(name = "data", value = "api请求参数")
    private Map<String, String> data;

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }

    public Map<String, String> getData() {
        return data;
    }

    public void setData(Map<String, String> data) {
        this.data = data;
    }
}
